

<%@ page import="les.Integrante" %>
<html>
    <head>
    	<resource:autoComplete skin="default" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'encontro.label', default: 'Encontro')}" />
        <title>Enviar Mala Direta</title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}">Inicio</a></span>
        </div>
        <div class="body">
            <h1>Criar Mala Direta</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${usuarioInstance}">
            <div class="errors">
                <g:renderErrors bean="${usuarioInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form method="post" >
                <div class="dialog">
                    <table>
                        <tbody>
                        	
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="equipes">Assunto</label>
                                </td>
                                <td>
                                	<g:textField name="assunto" maxlenght="40"/>
                                </td>
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="equipes">Mensagem</label>
                                </td>
                                <td>
                                	<g:textArea name="mensagem"/>
                                </td>
                            </tr>
                            
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:actionSubmit id="enviarMala" value="enviar" action="enviarMala"/></span>
                </div>
            </g:form>
    </body>
</html>
